﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RedesII_DTL;
using RedesII_DAL;

namespace RedesII_BLL
{
    public class EquipmentBo
    {
        public EquipmentDto GetByIp(string ip)
        {
            EquipmentDao equipment = new EquipmentDao();
            return equipment.GetByIp(ip);
        }

        public void InsertEquipment(EquipmentDto equipment)
        {
            new EquipmentDao().InsertEquipment(equipment);
        }
    }
}
